package com.hyt.it.ogt.kq.service.gov.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hyt.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 任务考场表
 * </p>
 *
 * @author huangyh
 * @since 2021-04-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("kw_task_room")
@ApiModel(value="KwTaskRoom对象", description="任务考场表")
public class TaskRoom extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "考试任务id")
    private String taskId;

    @ApiModelProperty(value = "平台考场id")
    @TableField("pt_room_id")
    private String ptRoomId;

    @ApiModelProperty(value = "所属考点id")
    private String placeId;

    @ApiModelProperty(value = "考场编号")
    private Integer code;

    @ApiModelProperty(value = "考场名称")
    private String name;

    @ApiModelProperty(value = "考场地址")
    private String address;

    @ApiModelProperty(value = "机位数")
    private Integer seatNum;

    @ApiModelProperty(value = "备用机位数")
    private Integer reserveSeatNum;

    @ApiModelProperty(value = "作答方式，1：电子作答，2：纸笔作答")
    private Integer answerType;

    @ApiModelProperty(value = "注册码")
    private String registerCode;

    @TableField("is_reserve")
    @ApiModelProperty(value = "是否备用考场，1：是，0：否")
    private Boolean reserve;

    @TableField("is_registered")
    @ApiModelProperty(value = "是否注册，1：是，0：否")
    private Boolean registered;

    @TableField("is_closure")
    @ApiModelProperty(value = "是否封场，1：是，0：否")
    private Boolean closure;

    @TableField("`function`")
    @ApiModelProperty(value = "考场职能，1：自定义考场")
    private Integer function;

    @ApiModelProperty(value = "部门ID")
    private String deptId;

}
